import axios from '@/plugins/axios';
const BASE_API = import.meta.env.VITE_APP_BASE_APIURL as string;

import { CommonStore } from '@/store';
import { ResponseVo } from '@/type';

export namespace MessageService {
  export const getVcode = async (params:{mobile:string}): Promise<ResponseVo<any>> => {
    let res:ResponseVo<any> = await axios.get('/message/vcode',{ params,baseURL: BASE_API });
    return res;
  };
}
